package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("BasicSql")
@Table("basic_sql")
public class BasicSql implements Serializable {

    @ApiModelProperty(value = "sql键", name = "sqlKey")
    @Column(value = "sql_key", text = "sql键", maxLength = 100)
    private String sqlKey;


    @ApiModelProperty(value = "sql语句", name = "sqlSentence")
    @Column(value = "sql_sentence", text = "sql语句", maxLength = 32767)
    private String sqlSentence;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "sql描述", name = "sqlMemo")
    @Column(value = "sql_memo", text = "sql描述", maxLength = 150)
    private String sqlMemo;

    public String getSqlKey() {
        return sqlKey;
    }

    public void setSqlKey(String sqlKey) {
        this.sqlKey = sqlKey;
    }

    public String getSqlSentence() {
        return sqlSentence;
    }

    public void setSqlSentence(String sqlSentence) {
        this.sqlSentence = sqlSentence;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSqlMemo() {
        return sqlMemo;
    }

    public void setSqlMemo(String sqlMemo) {
        this.sqlMemo = sqlMemo;
    }
}
